package org.termine.entity;

import java.io.Serializable;
import java.util.Date;

public class Service implements Serializable {

	private static final long serialVersionUID = -528102879610215699L;
	
	private Integer service_id;
	private Integer provider_id;
	private String name;
	private String description;
	private Integer duration_in_min;
	private Integer book_deadline_in_min;
	private Integer cancel_deadline_in_min;
	private Date start;
	private Date end;

	/*
	 * Getters & Setters
	 */
	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public Integer getService_id() {
		return service_id;
	}

	public void setService_id(Integer service_id) {
		this.service_id = service_id;
	}

	public Integer getProvider_id() {
		return provider_id;
	}

	public void setProvider_id(Integer provider_id) {
		this.provider_id = provider_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDuration_in_min() {
		return duration_in_min;
	}

	public void setDuration_in_min(Integer duration_in_min) {
		this.duration_in_min = duration_in_min;
	}

	public Integer getBook_deadline_in_min() {
		return book_deadline_in_min;
	}

	public void setBook_deadline_in_min(Integer book_deadline_in_min) {
		this.book_deadline_in_min = book_deadline_in_min;
	}

	public Integer getCancel_deadline_in_min() {
		return cancel_deadline_in_min;
	}

	public void setCancel_deadline_in_min(Integer cancel_deadline_in_min) {
		this.cancel_deadline_in_min = cancel_deadline_in_min;
	}

	@Override
	public String toString() {
		return "Service{" + "service_id=" + service_id + ", provider_id=" + provider_id + ", name=" + name + ", description=" + description + ", duration_in_min=" + duration_in_min + ", book_deadline_in_min=" + book_deadline_in_min + ", cancel_deadline_in_min=" + cancel_deadline_in_min + '}';
	}
}
